package club.beimeng.eduservice.client;

import club.beimeng.commonutils.R;
import club.beimeng.eduservice.entity.vo.VideoUrlVo;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "service-vod", fallback = VodFileDegradeFeignClient.class)
@Component
public interface VodClient {
    //定义调用的方法路径
    @DeleteMapping("/admin/vod/video/removeVideo")
    public R removeVideo(@ApiParam(value = "源视频链接", required = true) @RequestBody VideoUrlVo videoUrlVo);
}
